package com.ch.fastbuilder.model;

import java.util.List;
import java.util.Map;

public abstract class BaseBuilderModel extends BaseModel {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	public abstract <T extends Model> T get(Class<T> classType);

	//抽象方法，交给子类实现
	public abstract <T extends Model> List<T> list(Class<T> classType); 
	
	public abstract <T extends Model> int count(Class<T> classType); 
	
	public abstract int count();
	
	public abstract void excute(); 
	
	public abstract BaseBuilderModel withParams(Map<String,Object> params);
}
